package com.borya.model.db;

import com.borya.framework.util.ObjectUtils;

public class DeviceIdInfo {
	//此类用于保存设备号相关
	private String deviceid;//设备号
	private String super_dealerid="";//上级商户
	private String dealerid;//当前绑定商户id
	private int state;//1：已激活，0：未激活
	private String Mac;//mac地址
	private String dealer_name;//设备对应推广商名
	private int Attribute;//1A2B3C4D
	private int isp;//1远特，2联通，3移动，4电信;
	private String provinceName;//省份名称
	private int isManager;//是否是管理设备
	private int SysID;
	private String KMRecordCode;
	private long kmstate;
	private String ActivationTime;
	private String insert_date;
	private int isFanYong;
	private String IsIndustryBusiness;


	public int getSysID() {
		return SysID;
	}

	public void setSysID(int sysID) {
		SysID = sysID;
	}

	public String getKMRecordCode() {
		return KMRecordCode;
	}

	public void setKMRecordCode(String KMRecordCode) {
		this.KMRecordCode = KMRecordCode;
	}

	public long getKmstate() {
		return kmstate;
	}

	public void setKmstate(long kmstate) {
		this.kmstate = kmstate;
	}

	public String getActivationTime() {
		return ActivationTime;
	}

	public void setActivationTime(String activationTime) {
		ActivationTime = activationTime;
	}

	public String getInsert_date() {
		return insert_date;
	}

	public void setInsert_date(String insert_date) {
		this.insert_date = insert_date;
	}

	public int getIsFanYong() {
		return isFanYong;
	}

	public void setIsFanYong(int isFanYong) {
		this.isFanYong = isFanYong;
	}

	public String getIsIndustryBusiness() {
		return IsIndustryBusiness;
	}

	public void setIsIndustryBusiness(String isIndustryBusiness) {
		IsIndustryBusiness = isIndustryBusiness;
	}

	public String getDeviceid() {
		return deviceid;
	}
	public void setDeviceid(String deviceid) {
		this.deviceid = deviceid;
	}
	public String getSuper_dealerid() {
		return super_dealerid;
	}
	public void setSuper_dealerid(String super_dealerid) {
		if(ObjectUtils.nonNullOrEmpty(super_dealerid))
		this.super_dealerid = super_dealerid;
	}
	public String getDealerid() {
		return dealerid;
	}
	public void setDealerid(String dealerid) {
		this.dealerid = dealerid;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public String getMac() {
		return Mac;
	}
	public void setMac(String mac) {
		Mac = mac;
	}
	public String getDealer_name() {
		return dealer_name;
	}
	public void setDealer_name(String dealer_name) {
		this.dealer_name = dealer_name;
	}
	public int getAttribute() {
		return Attribute;
	}
	public void setAttribute(int attribute) {
		Attribute = attribute;
	}
	public int getIsp() {
		return isp;
	}
	public void setIsp(int isp) {
		this.isp = isp;
	}
	public String getProvinceName() {
		return provinceName;
	}
	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public int getIsManager() {
		return isManager;
	}
	public void setIsManager(int isManager) {
		this.isManager = isManager;
	}


	@Override
	public String toString() {
		final StringBuilder sb = new StringBuilder("DeviceIdInfo{");
		sb.append("deviceid='").append(deviceid).append('\'');
		sb.append(", super_dealerid='").append(super_dealerid).append('\'');
		sb.append(", dealerid='").append(dealerid).append('\'');
		sb.append(", state=").append(state);
		sb.append(", Mac='").append(Mac).append('\'');
		sb.append(", dealer_name='").append(dealer_name).append('\'');
		sb.append(", Attribute=").append(Attribute);
		sb.append(", isp=").append(isp);
		sb.append(", provinceName='").append(provinceName).append('\'');
		sb.append(", isManager=").append(isManager);
		sb.append(", SysID=").append(SysID);
		sb.append(", KMRecordCode='").append(KMRecordCode).append('\'');
		sb.append(", kmstate=").append(kmstate);
		sb.append(", ActivationTime='").append(ActivationTime).append('\'');
		sb.append(", insert_date='").append(insert_date).append('\'');
		sb.append(", isFanYong=").append(isFanYong);
		sb.append(", IsIndustryBusiness='").append(IsIndustryBusiness).append('\'');
		sb.append('}');
		return sb.toString();
	}
}
